package com.frank.dao;

import com.frank.model.Interview;
import com.frank.model.InterviewCriteria;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface InterviewMapper {
    long countByExample(InterviewCriteria example);

    int deleteByExample(InterviewCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(Interview record);

    int insertSelective(Interview record);

    List<Interview> selectByExampleWithRowbounds(InterviewCriteria example, RowBounds rowBounds);

    List<Interview> selectByExample(InterviewCriteria example);

    Interview selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Interview record, @Param("example") InterviewCriteria example);

    int updateByExample(@Param("record") Interview record, @Param("example") InterviewCriteria example);

    int updateByPrimaryKeySelective(Interview record);

    int updateByPrimaryKey(Interview record);

    int selectInterviewListCount();

    List<Map> selectInterviewList(Map map, RowBounds rowBounds);
}